package com.linzp.bishe.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.linzp.bishe.entity.Participants;
import com.linzp.bishe.entity.Publications;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @ClassName PublicationsModel
 * @Description 出版刊物的前端对接类
 * @Author LinZePeng
 * @Date 2022/1/24 14:46
 * @Version 1.0
 */
@Data
public class PublicationsModel {

	private Integer id;

	private String publicationType;

	private String publicationName;

	private String press;

	private String isbn;

	private String publicationLevel;

	private String category;

	private LocalDateTime publicationTime;

	private Integer rankingUniversity;

	private String supportingMaterial;

	private String inputPeople;

	private String status;

	private Integer userId;

	private List<Participants> participants;

	public Publications getPublications() {
		return new Publications(id,publicationType,publicationName,press,
				isbn,publicationLevel,category,publicationTime,
				rankingUniversity,supportingMaterial,inputPeople,status,userId);
	}
}
